package test;
import java.util.Scanner;

class xs{
	int id;
	String name;
	public void inp(){
		Scanner scanner=new Scanner(System.in);
		id=scanner.nextInt();
		scanner.nextLine();
		name=scanner.nextLine();
	}
	public void outp() {
		System.out.println("id:"+id+" "+"name:"+name);
	}
}

class xscj extends xs{
	int score;
	public void inp() {
		super.inp();
		Scanner scanner=new Scanner(System.in);
		score=scanner.nextInt();
		scanner.nextLine();
	}
	public void outp(){
		super.outp();
		System.out.println("score:"+score);
	}
}

public class gl {

	public static void main(String[] args) {
		xs xs1=new xs();
		xscj xscj1=new xscj();
		xs1.inp();
		xs1.outp();
		xscj1.inp();
		xscj1.outp();
	}

}
